package instance;

/**
 * Created by zc on 17-4-24.
 */
public class HelloWorldImpl implements HelloWorld {
    private String message=null;

    public HelloWorldImpl(){
        this.message="hello World";
    }

    public HelloWorldImpl(String message){
        this.message=message;
    }

    @Override
    public void say() {
        System.out.println(message);
    }
}
